home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc™ Source Code / Dialogs / Info.r < prev    next >
Encoding:
Text File  |  1996-08-28  |  17.8 KB  |  789 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        Info.r
  3.  
  4.     Contains:    resources for Part Frame Info
  5.  
  6.     Owned by:    Ed Lai
  7.  
  8.     Copyright:    © 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <6>     7/10/96    RA        1363236: Cosemtic Document/PartInfo dlg
  13.                                     fixes
  14.          <5>      7/8/96    eeh        undo task 10008 (AppleGuide buttons)
  15.          <4>     6/25/96    eeh        1361733: shrink Settings… button
  16.          <3>     6/21/96    eeh        task 10008: add buttons etc. for AppleGuide
  17.          <2>     6/19/96    EL        1358681: Resource IDs are in the reserved
  18.                                     range. 1321655: latest dialog design from
  19.                                     the HI team.
  20.          <0>     6/7/96    eeh        first checked in (moved from ::Core:)
  21.  
  22.     To Do:
  23.     In Progress:
  24. */
  25.  
  26. #define SystemSevenOrBetter 1            // we want the extended types
  27. #define    SystemSevenOrLater    1            // Types.r uses this variable
  28.  
  29. #define oldTemp        //$$$$$ Needed to use old-style 'dctb' resource
  30. #include "Types.r"
  31. #undef oldTemp        //$$$$$ End of 'dctb' fix
  32.  
  33. #include "SysTypes.r"
  34.  
  35. #include "InfoDefs.h"
  36. #include "DdgDefs.h"
  37.  
  38. #define kPartInfoLabelRight        121
  39. #define kPartInfoDataItemLeft    123
  40. #define kPartInfoDataItemRight    309
  41. #define kPartInfoButtonTop        285
  42. #ifdef _APPLEGUIDE_READY_
  43. #define    kAGButtonWidth            26
  44. #else
  45. #define    kAGButtonWidth            0
  46. #endif
  47.  
  48. resource 'DLOG' (kPartInfoDlgID, purgeable) {
  49.     {0, 0, 315, 344},
  50.     movableDBoxProc,
  51.     invisible,
  52.     noGoAway,
  53.     0x0,
  54.     kPartInfoDlgID,
  55.     "Part Info",
  56.     alertPositionParentWindowScreen
  57. };
  58.  
  59. resource 'DITL' (kPartInfoDlgID, purgeable) {
  60.     {    /* array DITLarray: 37 elements */
  61.         /* [1] kPartInfoOKBtn */
  62.         {kPartInfoButtonTop, 271, kPartInfoButtonTop+20, 330},
  63.         Button {
  64.             enabled,
  65.             "OK"
  66.         },
  67.         /* [2] kPartInfoCancelBtn */
  68.         {kPartInfoButtonTop, 197, kPartInfoButtonTop+20, 258},
  69.         Button {
  70.             enabled,
  71.             "Cancel"
  72.         },
  73.         /* [3] kPartInfoSettingsButton */
  74.         {kPartInfoButtonTop, 10+kAGButtonWidth, kPartInfoButtonTop+20, 122/*+26*/},
  75.         Button {
  76.             enabled,
  77.             "Settings…"
  78.         },
  79.         /* [4] kPartInfoCommentsFld */
  80.         {233, 13, 272, kPartInfoDataItemRight+22 /*331*/},
  81.         StaticText {
  82.             disabled,
  83.             ""
  84.         },
  85.         /* [5] kPartInfoByFld */
  86.         {202, kPartInfoDataItemLeft, 214, kPartInfoDataItemRight},
  87.         UserItem {
  88.             enabled
  89.         },
  90.         /* [6] */
  91.         {202, 98, 214, kPartInfoLabelRight},
  92.         StaticText {
  93.             disabled,
  94.             "By:"
  95.         },
  96.         /* [7] kPartInfoModifiedFld */
  97.         {188, kPartInfoDataItemLeft, 200, kPartInfoDataItemRight},
  98.         StaticText {
  99.             disabled,
  100.             "^2, ^3"
  101.         },
  102.         /* [8] */
  103.         {188, 64, 200, kPartInfoLabelRight},
  104.         StaticText {
  105.             disabled,
  106.             "Modified:"
  107.         },
  108.         /* [9] kPartInfoCreatedFld */
  109.         {174, kPartInfoDataItemLeft, 186, kPartInfoDataItemRight},
  110.         StaticText {
  111.             disabled,
  112.             "^0, ^1"
  113.         },
  114.         /* [10] */
  115.         {174, 70, 186, kPartInfoLabelRight},
  116.         StaticText {
  117.             disabled,
  118.             "Created:"
  119.         },
  120.         /* [11] kPartInfoSizeFld */
  121.         {160, kPartInfoDataItemLeft, 172, kPartInfoDataItemRight},
  122.         StaticText {
  123.             disabled,
  124.             ""
  125.         },
  126.         /* [12] */
  127.         {160, 89, 172, kPartInfoLabelRight},
  128.         StaticText {
  129.             disabled,
  130.             "Size:"
  131.         },
  132.         /* [13] kPartInfoSep1 */
  133.         {155, 10, 156, kPartInfoDataItemRight+22 /*331*/},
  134.         UserItem {
  135.             disabled
  136.         },
  137.         /* [14] kPartInfoEditorPopup */
  138.         {132, 74, 148, kPartInfoDataItemRight+22-20 /*311*/},
  139.         Control {
  140.             enabled,
  141.             kPartInfoEditorCntl
  142.         },
  143.         /* [15] kPartInfoKindPopup */
  144.         {110, 83, 126, kPartInfoDataItemRight+22-20 /*311*/},
  145.         Control {
  146.             enabled,
  147.             kPartInfoKindCntl
  148.         },
  149.         /* [16] kPartInfoCategoryFld */
  150.         {90, kPartInfoDataItemLeft, 104, kPartInfoDataItemRight},
  151.         UserItem {
  152.             enabled
  153.         },
  154.         /* [17] */
  155.         {90, 63, 104, kPartInfoLabelRight},
  156.         StaticText {
  157.             disabled,
  158.             "Category:"
  159.         },
  160.         /* [18] kPartInfoSep2 */
  161.         {85, 10, 86, kPartInfoDataItemRight+22 /*331*/},
  162.         UserItem {
  163.             disabled
  164.         },
  165.         /* [19] kPartInfoShowLinksCheckbox */
  166.         {49, 234, 63, 309},
  167.         CheckBox {
  168.             enabled,
  169.             ""
  170.         },
  171.         /* [20] kPartInfoShowLinksText */
  172.         {50, 252, 63, 309},
  173.         StaticText {
  174.             enabled,
  175.             "Show Links"
  176.         },
  177.         /* [21] kPartInfoStationeryCheckbox */
  178.         {33, 234, 47, 309},
  179.         CheckBox {
  180.             enabled,
  181.             ""
  182.         },
  183.         /* [22] kPartInfoStationeryText */
  184.         {34, 252, 47, 309},
  185.         StaticText {
  186.             enabled,
  187.             "Stationery"
  188.         },
  189.         /* [23] kPartInfoActPartRadBtn */
  190.         {58, 120, 72, 205},
  191.         RadioButton {
  192.             enabled,
  193.             ""
  194.         },
  195.         /* [24]  kPartInfoSelPartRadBtn */
  196.         {58, 212, 72, 297},
  197.         RadioButton {
  198.             enabled,
  199.             ""
  200.         },
  201.         /* [25] kPartInfoViewAsPopup */
  202.         {35, 67, 51, 213},
  203.         Control {
  204.             enabled,
  205.             kPartInfoViewAsCntl
  206.         },
  207.         /* [26] kPartInfoNameEditFld */
  208.         {10, 124, 23, kPartInfoDataItemRight},
  209.         StaticText {
  210.             disabled,
  211.             ""
  212.         },
  213.         /* [27] */
  214.         {11, 83, 25, kPartInfoLabelRight /*was 118*/},
  215.         StaticText {
  216.             disabled,
  217.             "Name:"
  218.         },
  219.         /* [28] kPartInfoPartThumbnail */
  220.         {10, 20, 42, 52},
  221.         UserItem {
  222.             disabled
  223.         },
  224.         /* [29] kPartInfoDefaultButtonItem */
  225.         {278, 264, 306, 331},
  226.         UserItem {
  227.             disabled
  228.         },
  229.         /* [30] kPartInfoIDFld */
  230.         {216, kPartInfoDataItemLeft, 228, kPartInfoDataItemRight},
  231.         StaticText {
  232.             disabled,
  233.             ""
  234.         },
  235.         /* [31] */
  236.         {216, 41, 228, kPartInfoLabelRight},
  237.         StaticText {
  238.             disabled,
  239.             "Scripting ID:"
  240.         },
  241.         /* [32] kPartInfoSettingsButton */
  242.         {kPartInfoButtonTop, 129, kPartInfoButtonTop+20, 191},
  243.         Button {
  244.             enabled,
  245.             "Size…"
  246.         },
  247.         /* [33] kPartInfoEditorLabel */
  248.         {132, 77, 132+16, kPartInfoLabelRight},
  249.         StaticText {
  250.             disabled,
  251.             "Editor:"
  252.         },
  253.         /* [34] kPartInfoNoEditorText */
  254.         {132, 75+50, 132+16, 75+50+200},
  255.         StaticText {
  256.             disabled,
  257.             "None for this Kind"
  258.         },
  259.         /* [35] kPartInfoBundledText */
  260.         {59, 68, 72, kPartInfoLabelRight},
  261.         StaticText {
  262.             disabled,
  263.             "Click to:"
  264.         },
  265.         /* [36] kPartInfoReadOnlyPict */
  266.         {64, 234, 79, 249},
  267.         Picture {
  268.             disabled,
  269.             kPartInfoReadOnlyPictID
  270.         },
  271.         /* [37] kPartInfoReadOnlyText */
  272.         {66, 251, 79, 307},
  273.         StaticText {
  274.             disabled,
  275.             "Read Only"
  276.         },
  277.         /* [38] kPartInfoActPartText */
  278.         {59, 138, 72, 205},
  279.         StaticText {
  280.             disabled,
  281.             "Activate Part"
  282.         },
  283.         /* [39] kPartInfoSelPartText */
  284.         {59, 230, 72, 297},
  285.         StaticText {
  286.             enabled,
  287.             "Select Part"
  288.         }
  289.         /* [40] */
  290.         /*,{kPartInfoButtonTop + 2, 10, kPartInfoButtonTop+14, kAGButtonWidth},
  291.         Control {
  292.             enabled,
  293.             kAppleGuideButton
  294.         }*/
  295.     }
  296. };
  297.  
  298. resource 'CNTL' (kPartInfoKindCntl, purgeable) {
  299.         /*{106, 106, 122, kPartInfoDataItemRight-10},*/
  300.         {110, 84, 126, kPartInfoDataItemRight+22-20},
  301.         popupTitleBold+popupTitleRightJust,
  302.         visible,
  303.         38,                    /* width of title in pixels     */
  304.         kPartInfoKindMenu,    /* resource id of MENU resource */
  305.         popupMenuCDEFproc+popupUseWFont+popupFixedWidth,
  306.         0,                    /* Refcon */
  307.         "Kind:"
  308. };
  309.  
  310. resource 'CNTL' (kPartInfoEditorCntl, purgeable) {
  311.         /*{128, 97, 144, kPartInfoDataItemRight-10},*/
  312.         {132, 75, 148, kPartInfoDataItemRight+22-20},
  313.         popupTitleBold+popupTitleRightJust,
  314.         visible,
  315.         47,                    /* width of title in pixels     */
  316.         kPartInfoEditorMenu,                /* resource id of MENU resource */
  317.         popupMenuCDEFproc+popupUseWFont+popupFixedWidth,
  318.         0,                    /* Refcon */
  319.         "Editor:"
  320. };
  321.  
  322. resource 'CNTL' (kPartInfoViewAsCntl, purgeable) {
  323.         /*{31, 90, 47, 237},*/
  324.         {35, 67, 51, 213},
  325.         popupTitleBold+popupTitleRightJust,
  326.         visible,
  327.         54,                    /* width of title in pixels     */
  328.         kPartInfoViewAsMenu,                /* resource id of MENU resource */
  329.         popupMenuCDEFproc+popupUseWFont+popupFixedWidth,
  330.         0,                    /* Refcon */
  331.         "View as:"
  332. };
  333.  
  334. data 'ppat' (kPartInfoDlgID, purgeable) {
  335.     $"0001 0000 001C 0000 004E 0000 0000 FFFF"
  336.     $"0000 0000 AA55 AA55 AA55 AA55 0000 0000"
  337.     $"8001 0000 0000 0008 0008 0000 0000 0000"
  338.     $"0000 0048 0000 0048 0000 0000 0001 0001"
  339.     $"0001 0000 0000 0000 0056 0000 0000 55AA"
  340.     $"55AA 55AA 55AA 0000 0000 0000 0001 0000"
  341.     $"7777 7777 7777 0001 8888 8888 8888"
  342. };
  343.  
  344. resource 'dctb' (kPartInfoDlgID, purgeable) {
  345.     0,
  346.     0,
  347.     {
  348.         wContentColor,0xFFFF,0xFFFF,0xFFFF
  349.     }
  350. };
  351.  
  352. data 'ictb' (kPartInfoDlgID, purgeable) 
  353. {
  354.     /* Item entries */
  355.  
  356.     /* offset      chng tabl     item */
  357.     /* ------      ---- ----     ---- */
  358.     /* +$0000 */ $"0000 0000" /* [1]  */
  359.                  $"0000 0000" /* [2]  */
  360.                  $"0000 0000" /* [3]  */
  361.                  $"0000 0000" /* [4]  */
  362.     /* +$0010 */ $"0000 0000" /* [5]  */
  363.                  $"0002 009C" /* [6]  */
  364.                  $"0000 0000" /* [7]  */
  365.                  $"0002 009C" /* [8]  */
  366.     /* +$0020 */ $"0000 0000" /* [9]  */
  367.                  $"0002 009C" /* [10] */
  368.                  $"0000 0000" /* [11] */
  369.                  $"0002 009C" /* [12] */
  370.     /* +$0030 */ $"0000 0000" /* [13] */
  371.                  $"0000 0000" /* [14] */
  372.                  $"0000 0000" /* [15] */
  373.                  $"0000 0000" /* [16] */
  374.     /* +$0040 */ $"0002 009C" /* [17] */
  375.                  $"0000 0000" /* [18] */
  376.                  $"0000 0000" /* [19] */
  377.                  $"0000 0000" /* [20] */
  378.     /* +$0050 */ $"0000 0000" /* [21] */
  379.                  $"0000 0000" /* [22] */
  380.                  $"0000 0000" /* [23] */
  381.                  $"0000 0000" /* [24] */
  382.     /* +$0060 */ $"0000 0000" /* [25] */
  383.                  $"0000 0000" /* [26] */
  384.                  $"0002 009C" /* [27] */
  385.                  $"0000 0000" /* [28] */
  386.     /* +$0070 */ $"0000 0000" /* [29] */
  387.                  $"0000 0000" /* [30] */
  388.                  $"0002 009C" /* [31] */
  389.                  $"0000 0000" /* [32] */
  390.     /* +$0080 */ $"0002 009C" /* [33] */
  391.                  $"0000 0000" /* [34] */
  392.                  $"0002 009C" /* [35] */
  393.                  $"0000 0000" /* [36] */
  394.     /* +$0090 */ $"0000 0000" /* [37] */
  395.                  $"0000 0000" /* [38] */
  396.                  $"0000 0000" /* [39] */
  397.     
  398.     /*                           ^^^^---- This column contains the dialog item number of   */
  399.     /*                                    each entry in this resource.                     */
  400.     /*                                                                                     */
  401.     /*                  ^^^^------------- This column contains offsets into this resource. */
  402.     /*                                    For instance, $009C means it points to the       */
  403.     /*                                    beginning of the table below (offset $9C)        */
  404.     /*                                                                                     */
  405.     /*             ^^^^------------------ This column tells which part(s) of the style     */
  406.     /*                                    table should be adhered to.                      */    
  407.     
  408.     /* If items are added to this dialog, you'll have to add those items to this resource  */
  409.     /* as well, and this will change the offset above from $A8 to some other value.  Make  */
  410.     /* sure this is changed in all of the above entries!                                   */
  411.     
  412.     
  413.     /* Text style record(s) */
  414.  
  415.     /* +$009C */ $"0000"            /* font         (ignored) */
  416.                  $"0100"            /* style = bold           */
  417.                  $"0000"            /* size         (ignored) */
  418.                  $"0000 0000 0000"    /* fore color   (ignored) */
  419.                  $"0000 0000 0000"    /* back color   (ignored) */
  420.                  $"0000"            /* mode         (ignored) */
  421.  
  422.     /* +$00B0 */    /* -- if you need more entries, add them here. */
  423. };
  424.  
  425. resource 'MENU' (kPartInfoKindMenu, "Kind", nonpurgeable) {    // 'MENU' resources must not be purgeable [cc]
  426.     kPartInfoKindMenu,
  427.     textMenuProc,
  428.     allEnabled,
  429.     enabled,
  430.     "Kind",
  431.     {    /* array: 1 elements */
  432.         "Translate to…", noIcon, noKey, noMark, italic
  433.     }
  434. };
  435.  
  436. resource 'MENU' (kPartInfoEditorMenu, "Editor", nonpurgeable) {
  437.     kPartInfoEditorMenu,
  438.     textMenuProc,
  439.     allEnabled,
  440.     enabled,
  441.     "Editor",
  442.     {    /* array: 0 elements */
  443.     }
  444. };
  445.  
  446. resource 'MENU' (kPartInfoViewAsMenu, "View as", nonpurgeable) {
  447.     kPartInfoViewAsMenu,
  448.     textMenuProc,
  449.     allEnabled,
  450.     enabled,
  451.     "View as:",
  452.     {    /* array: 4 elements */
  453.         "Frame", noIcon, noKey, noMark, plain,
  454.         "Large Icon", noIcon, noKey, noMark, plain,
  455.         "Small Icon", noIcon, noKey, noMark, plain,
  456.         "Thumbnail", noIcon, noKey, noMark, plain
  457.     }
  458. };
  459.  
  460.  
  461. resource 'finf' (kPartInfoDlgID, "", purgeable) {
  462.     {
  463.         3,            /* Font Number, 3 = Geneva    */
  464.         plain,        /*         Font Style        */
  465.         10            /*         Font Size        */
  466.     }
  467. };
  468.  
  469. resource 'ALRT' (kPartInfoInvalidNameAlertID) {
  470.     {44, 25, 173, 441},
  471.     kPartInfoInvalidNameAlertID,
  472.     {    /* array: 4 elements */
  473.         /* [1] */
  474.         OK, visible, sound1,
  475.         /* [2] */
  476.         OK, visible, sound1,
  477.         /* [3] */
  478.         OK, visible, sound1,
  479.         /* [4] */
  480.         OK, visible, sound1
  481.     },
  482.     alertPositionParentWindowScreen
  483. };
  484.  
  485. resource 'DITL' (kPartInfoInvalidNameAlertID) {
  486.     {    /* array DITLarray: 3 elements */
  487.         /* [1] */
  488.         {99, 342, 119, 400},
  489.         Button {
  490.             enabled,
  491.             "OK"
  492.         },
  493.         /* [2] */
  494.         {10, 62, 90, 400},
  495.         StaticText {
  496.             disabled,
  497.             "The name cannot be used as a file name."
  498.         },
  499.         /* [3] */
  500.         {10, 20, 42, 52},
  501.         Icon {
  502.             disabled,
  503.             1
  504.         }
  505.     }
  506. };
  507.  
  508. resource 'ALRT' (kPartInfoLongCommentAlertID) {
  509.     {44, 25, 173, 441},
  510.     kPartInfoLongCommentAlertID,
  511.     {    /* array: 4 elements */
  512.         /* [1] */
  513.         OK, visible, sound1,
  514.         /* [2] */
  515.         OK, visible, sound1,
  516.         /* [3] */
  517.         OK, visible, sound1,
  518.         /* [4] */
  519.         OK, visible, sound1
  520.     },
  521.     alertPositionParentWindowScreen
  522. };
  523.  
  524. resource 'DITL' (kPartInfoLongCommentAlertID) {
  525.     {    /* array DITLarray: 3 elements */
  526.         /* [1] */
  527.         {99, 342, 119, 400},
  528.         Button {
  529.             enabled,
  530.             "OK"
  531.         },
  532.         /* [2] */
  533.         {10, 62, 90, 400},
  534.         StaticText {
  535.             disabled,
  536.             "The comment will be truncated."
  537.         },
  538.         /* [3] */
  539.         {10, 20, 42, 52},
  540.         Icon {
  541.             disabled,
  542.             1
  543.         }
  544.     }
  545. };
  546.  
  547. //-------------------------------------------------------------------------------------
  548. // Strings used by Link Info dialogs
  549. //-------------------------------------------------------------------------------------
  550.  
  551. resource 'STR ' (kODPartInfoSizeInBytes, purgeable) {
  552.     "^0 bytes on disk"
  553. };
  554.  
  555. resource 'STR ' (kODPartInfoSizeInK, purgeable) {
  556.     "^0K on disk"
  557. };
  558.  
  559. resource 'STR ' (kODPartInfoStrUnknownID, purgeable) {
  560.     "Unknown"
  561. };
  562.  
  563. resource 'STR ' (kODDocumentInfoWindowName, purgeable) {
  564.     "Document Info"
  565. };
  566.  
  567.  
  568. resource 'STR#' (kODInfoUtilStrsID, purgeable) {
  569.     {
  570.          "Unknown"
  571.         ;"None for this Kind"
  572.     }
  573. };
  574.  
  575. //-------------------------------------------------------------------------------------
  576. //   Document Heap Size dialog resources
  577. //-------------------------------------------------------------------------------------
  578.  
  579.  
  580.  
  581. resource 'DLOG' (kDocHeapDlgID, purgeable) {
  582.     {96, 80, 266, 422},
  583.     movableDBoxProc,
  584.     invisible,
  585.     noGoAway,
  586.     0x0,
  587.     kDocHeapDlgID,
  588.     "Memory Requirements",
  589.     alertPositionParentWindowScreen
  590. };
  591.  
  592. resource 'DITL' (kDocHeapDlgID, purgeable) {
  593.     {    /* array DITLarray: 13 elements */
  594.         /* [1] kDocHeapOKBtn */
  595.         {140, 271, 160, 329},
  596.         Button {
  597.             enabled,
  598.             "OK"
  599.         },
  600.         /* [2] kDocHeapCancelBtn */
  601.         {139, 200, 159, 258},
  602.         Button {
  603.             enabled,
  604.             "Cancel"
  605.         },
  606.         /* [3] kDocHeapDefaultSizeRadBtn */
  607.         {65, 20, 81, 237},
  608.         RadioButton {
  609.             enabled,
  610.             "Use OpenDoc Default Size:"
  611.         },
  612.         /* [4] kDocHeapDefaultSizeFld */
  613.         {65, 241, 81, 287},
  614.         StaticText {
  615.             enabled,
  616.             "256"
  617.         },
  618.         /* [5] kDocHeapDefaultSizeBotBtnRect */
  619.         {61+13, 317, 86, 332},
  620.         UserItem {
  621.             enabled
  622.         },
  623.         /* [6] kDocHeapPreferdSizeRadBtn */
  624.         {99, 20, 115, 238},
  625.         RadioButton {
  626.             enabled,
  627.             "Use Document Preferred Size:"
  628.         },
  629.         /* [7] kDocHeapPreferdSizeFld */
  630.         {99, 241, 115, 287},
  631.         StaticText {
  632.             enabled,
  633.             "1024"
  634.         },
  635.         /* [8] kDocHeapPreferdSizeBotBtnRect */
  636.         {95+13, 317, 120, 332},
  637.         UserItem {
  638.             enabled
  639.         },
  640.         /* [9] */
  641.         {20, 20, 36, 238},
  642.         StaticText {
  643.             disabled,
  644.             "Set Memory Requirements for:"
  645.         },
  646.         /* [10] kDocHeapDocumentNameFld */
  647.         {37, 20, 53, 236},
  648.         StaticText {
  649.             disabled,
  650.             ""
  651.         },
  652.         /* [11] */
  653.         {65, 292, 81, 304},
  654.         StaticText {
  655.             disabled,
  656.             "K"
  657.         },
  658.         /* [12] */
  659.         {99, 292, 115, 304},
  660.         StaticText {
  661.             disabled,
  662.             "K"
  663.         },
  664.         /* [13] kDocHeapDefaultButtonItem */
  665.         {140-4, 271-4, 160+4, 329+4},
  666.         UserItem {
  667.             disabled
  668.         },
  669.         /* [14] kDocHeapDefaultSizeTopBtnRect */
  670.         {61, 317, 61+12, 332},
  671.         UserItem {
  672.             enabled
  673.         },
  674.         /* [15] kDocHeapDefaultSizeBtns */
  675.         {61, 317, 86, 332},
  676.         Picture {
  677.             disabled,
  678.             kArrowBtnsPictOffID
  679.         },
  680.         /* [16] kDocHeapPreferdSizeTopBtnRect */
  681.         {95, 317, 95+12, 332},
  682.         UserItem {
  683.             enabled
  684.         },
  685.         /* [17] kDocHeapPreferdSizeBtns */
  686.         {95, 317, 120, 332},
  687.         Picture {
  688.             disabled,
  689.             kArrowBtnsPictOffID
  690.         },
  691.         /* [18] */
  692.         {140, 36, 155, 51},
  693.         Picture {
  694.             disabled,
  695.             kPartInfoReadOnlyPictID
  696.         },
  697.         /* [19] */
  698.         {142, 53, 155, 109},
  699.         StaticText {
  700.             disabled,
  701.             "Read Only"
  702.         },
  703.         /* [20] */
  704.         {129, 14, 162, 195},
  705.         StaticText {
  706.             disabled,
  707.             "Changes take effect when the document is reopened."
  708.         }
  709.     }
  710. };
  711.  
  712. resource 'finf' (kDocHeapDlgID, "", purgeable) {
  713.     {
  714.         3,            /* Font Number, 3 = Geneva    */
  715.         plain,        /*         Font Style        */
  716.         10            /*         Font Size        */
  717.     }
  718. };
  719.  
  720. resource 'CNTL' (kArrowBtnsCntlID, purgeable) {
  721.     {100, 153, 112, 190},
  722.     0,
  723.     visible,
  724.     1,
  725.     0,
  726.     radioButProcUseWFont,
  727.     0,
  728.     "On"
  729. };
  730.  
  731. resource kPICTRsrcType (kArrowBtnsPictOffID, purgeable) {
  732.     109,
  733.     {0, 0, 25, 15},
  734.     $"1101 A000 8201 000A 0000 0000 02D0 0240"
  735.     $"9000 0200 0000 0000 1900 1000 0000 0000"
  736.     $"1900 0F00 0000 0000 1900 0F00 003F F840"
  737.     $"0480 0281 0282 8284 4288 229C 7284 4284"
  738.     $"4287 C280 0280 0280 0287 C284 4284 429C"
  739.     $"7288 2284 4282 8281 0280 0240 043F F8A0"
  740.     $"0083 FF"
  741. };
  742.  
  743. resource kPICTRsrcType (kArrowBtnsPictTopOnID, purgeable) {
  744.     109,
  745.     {0, 0, 25, 15},
  746.     $"1101 A000 8201 000A 0000 0000 02D0 0240"
  747.     $"9000 0200 0000 0000 1900 1000 0000 0000"
  748.     $"1900 0F00 0000 0000 1900 0F00 003F F840"
  749.     $"0480 0281 0283 8287 C28F E29F F287 C287"
  750.     $"C287 C280 0280 0280 0287 C284 4284 429C"
  751.     $"7288 2284 4282 8281 0280 0240 043F F8A0"
  752.     $"0083 FF"
  753. };
  754.  
  755. resource kPICTRsrcType (kArrowBtnsPictBotOnID, purgeable) {
  756.     109,
  757.     {0, 0, 25, 15},
  758.     $"1101 A000 8201 000A 0000 0000 02D0 0240"
  759.     $"9000 0200 0000 0000 1900 1000 0000 0000"
  760.     $"1900 0F00 0000 0000 1900 0F00 003F F840"
  761.     $"0480 0281 0282 8284 4288 229C 7284 4284"
  762.     $"4287 C280 0280 0280 0287 C287 C287 C29F"
  763.     $"F28F E287 C283 8281 0280 0240 043F F8A0"
  764.     $"0083 FF"
  765. };
  766.  
  767. resource 'PICT' (kPartInfoReadOnlyPictID, purgeable) {
  768.     276,
  769.     {0, 0, 15, 15},
  770.     $"1101 A030 39A0 0082 0100 0A00 0000 0003"
  771.     $"6604 8091 0002 0000 0000 000F 0010 0000"
  772.     $"0000 000F 000F 0000 0000 000F 000F 0000"
  773.     $"00B8 0000 0000 000F 000F 0000 0001 0002"
  774.     $"7FFF 0001 0001 0003 7FFF 0002 0002 0004"
  775.     $"0009 000C 7FFF 0003 0003 0005 0008 0009"
  776.     $"000C 000D 7FFF 0004 0004 0006 7FFF 0005"
  777.     $"0005 0008 7FFF 0006 0006 0007 000C 000D"
  778.     $"7FFF 0007 0006 0007 7FFF 0008 000B 000C"
  779.     $"7FFF 0009 0005 0006 7FFF 000A 000A 000C"
  780.     $"7FFF 000B 0009 000A 000B 000D 7FFF 000C"
  781.     $"0008 0009 000C 000E 7FFF 000D 0007 0008"
  782.     $"000D 000F 7FFF 000E 0000 0001 0002 0005"
  783.     $"0006 0007 000E 000F 7FFF 000F 0000 0001"
  784.     $"0002 0006 7FFF 7FFF 4000 2000 1070 0888"
  785.     $"04C8 0338 0110 0290 0261 0420 0450 0788"
  786.     $"0704 0602 BC00 A000 83FF"
  787. };
  788.  
  789.